{{define "content"}}

    <div id="main">
        
        <!-- 面包屑导航 -->
        <div id="bread" class="box list sky-blue">
            <span class="left">
                <a href="/gobbs">{{.Gobbs.title}}</a>
                <img src="/images/divider.gif" />
                <a href="/group/list">论坛等级</a>
                <img src="/images/divider.gif" />
                用户组&权限
            </span>
        </div>

        <!-- 用户组权限 -->
        <div class="list">
            <h1 class="block_sub">用户组&权限</h1>
            <div class="list_table limit-map mainbox" style="padding:10px 30px;">
                <table width="100%" cellspacing="0" cellpadding="0" align="center" style="table-layout: fixed;">
                    <caption class="b blue" style="text-align:left; font-size:14px; padding:15px 10px 20px 0;">{{.GroupUser.Grouptitle}} &nbsp;<img src="http://img.sys.aj.com/bbs/star/{*$ogroup->stars*}"  border="0" alt="" align="absmiddle"></caption>
                    <tbody>
                        <tr><td colspan="10" class="b ">基本资料</td></tr>
                        <tr class="thead">
                            <td width="10%">等级类型</td>
                            <td width="10%">贡献起点</td>
                            <td width="10%">阅读权限</td>
                            <td width="10%"></td>
                            <td width="10%">&nbsp;</td>
                            <td width="10%">&nbsp;</td>
                            <td width="10%">&nbsp;</td>
                            <td width="10%">&nbsp;</td>
                            <td width="10%">&nbsp;</td>
                            <td width="10%">&nbsp;</td>
                        </tr>
                        <tr>
                            <td><font size="+" color="green">
                                {{if .GroupUser.Type}}
                                会员等级
                                {{else}}
                                特殊等级
                                {{end}}
                               </font></td>
                            <td><font size="+" color="green">{{.GroupUser.Cblower}}</font></td>
                            <td><font size="+" color="green">{{.GroupUser.Readlevel}}</font></td>
                            <td></td>
                            <td><font size="+" color="green">&nbsp;</font></td>
                            <td><font size="+" color="green">&nbsp;</font></td>
                            <td><font size="+" color="green">&nbsp;</font></td>
                            <td><font size="+" color="green">&nbsp;</font></td>
                            <td><font size="+" color="green">&nbsp;</font></td>
                            <td><font size="+" color="green">&nbsp;</font></td>
                        </tr>

                        <tr><td colspan="10" class="b">基本权限</td></tr>
                        <tr class="thead">
                            <td width="10%">隐身登录</td>
                            <td width="10%">论坛访问</td>
                            <td width="10%">搜索权限</td>
                            <td width="10%">自定义头像</td>
                            <td width="10%">查看用户</td>
                            <td width="10%">查看统计</td>
                            <td width="10%">使用签名</td>
                            <td width="10%">签名大小上限</td>
                            <td width="10%"></td>
                            <td width="10%"></td>
                        </tr>
                        <tr>
                            <td>{{if .GroupUser.Allowhidden}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</font></td>
                            <td>{{if .GroupUser.Allowvisit}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</font></td>
                            <td>{{if .GroupUser.Allowsearch}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</font></td>
                            <td>{{if .GroupUser.Allowavatar}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</font></td>
                            <td>{{if .GroupUser.Allowviewuser}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowviewstat}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowsig}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td><font size="+" color="green">{{.GroupUser.Maxsigsize}}(字节)</font></td>
                            <td></td>
                            <td></td>
                        </tr>
                        <tr><td colspan="10" class="b">帖子相关</td></tr>
                        <tr class="thead">
                            <td>发表主题</td>
                            <td>回复主题</td>
                            <td>发出售主题</td>
                            <td>发加密主题</td>
                            <td>发隐藏主题</td>
                            <td>发悬赏主题</td>
                            <td>发跳转主题</td>
                            <td>匿名发帖</td>
                            <td>CTB标签</td>
                            <td>HTML代码</td>
                        </tr>
                        <tr>
                            <td>{{if .GroupUser.Allowpost}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</font></td>
                            <td>{{if .GroupUser.Allowreply}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</font></td>
                            <td>{{if .GroupUser.Allowpostorder}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowpostlevel}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowpostreply}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowpostask}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowdirectpost}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowanonymous}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowubbcode}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowhtml}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                        </tr>
                        <tr class="thead">
                            <td width="10%">查看主题图片</td>
                            <td width="10%">查看隐藏主题</td>
                            <td width="10%">购买出售主题</td>
                            <td >使用主题插件</td>
                            <td >参与主题插件</td>

                            <td >出售主题上限</td>
                            <td >悬赏主题下限</td>
                            <td >悬赏主题上限</td>
                            <td >每天评分上限</td>
                            <td >每时发表上限</td>

                        </tr>
                        <tr>
                            <td>{{if .GroupUser.Allowviewpic}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowviewhide}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowtransfer}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowpnew}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowpjoin}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>

                            <td ><font size="+" color="green">{{.GroupUser.Maxorder}}(积分)</font></td>
                            <td ><font size="+" color="green">{{.GroupUser.Minprice}}(积分)</font></td>
                            <td ><font size="+" color="green">{{.GroupUser.Maxprice}}(积分)</font></td>
                            <td ><font size="+" color="green">{{.GroupUser.Maxrateperday}}(积分)</font></td>
							<td ><font size="+" color="green">{{.GroupUser.Maxpostsperhour}}(帖子)</font></td>

                        </tr>
                        <tr><td colspan="10" class="b">附件权限</td></tr>
                        <tr class="thead">
                            <td>上传附件</td>
                            <td>下载附件</td>
                            <td>附件大小上限</td>
                            <td colspan="3">&nbsp;</td>
                            <td class="tal" colspan="4">&nbsp;</td>
                        </tr>
                        <tr>
                            <td>{{if .GroupUser.Allowupload}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td>{{if .GroupUser.Allowdownload}}<font size="+" color="green">√{{else}}<font size="+" color="red">×{{end}}</td>
                            <td><font size="+" color="green">{{.GroupUser.Maxupload}}(KB)</font></td>
                            <td colspan="3">&nbsp;</td>
                            <td class="tal" colspan="4">&nbsp;</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

    </div>
{{end}}
